Set the shortcuts tree as a drag destination.
authorFederico Mena Quintero <federico@ximian.com>
Mon, 1 Dec 2003 15:33:37 +0000 (15:33 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Mon, 1 Dec 2003 15:33:37 +0000 (15:33 +0000)
commit3efec0d69eec1dc2a64988aead1ae91397914a34
treefdb700ac6ecc8d34444ed999fbd001cb1b0653b0
parent08529cdee716266dcdc8fecfe3d5934f2b707e4c
Set the shortcuts tree as a drag destination.

2003-12-01  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Set the
shortcuts tree as a drag destination.
(shortcuts_drag_data_received_cb): New callback.
(get_file_info): Also fetch information on whether the file is a folder.
(add_bookmark_button_clicked_cb): Use error_could_not_add_bookmark_dialog().
(error_could_not_add_bookmark_dialog): New function.
(shortcuts_add_bookmark_from_path): New helper function.
(add_bookmark_button_clicked_cb): Use shortcuts_add_bookmark_from_path().
(shortcuts_row_activated): We no longer need the changing_folder flag.
(struct _GtkFileChooserDefault): Likewise.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilechooserdefault.c